home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / run44 / run44.readme < prev    next >
Text File  |  2000-02-16  |  3KB  |  101 lines

  1. Short:    run with detach + more! V44.1
  2. Author:   no-email@for.now (Harry "Piru" Sintonen)
  3. Type:     util/sys
  4. Requires: AmigaOS 3.0 or better
  5. Version:  44.1
  6.  
  7. Way back when I had A500 with AmigaOS 1.3 I had program called
  8. RunBack, it was able to launch programs on the backgroud. I
  9. happily forgot it when I upgraded to AmigaOS 2.
  10.  
  11. Nowadays with fast CPUs and harddrives I load 10 mb worth of
  12. programs in my system startup. Many of the programs require
  13. that they are `run'. And every one of them appears in `status'
  14. process list. I wasn't too annoyed by this, until the first
  15. available CLI number was above 20. I decided to do something
  16. about it. Result is run v44.
  17.  
  18. Run v44 replaces AmigaOS 3.0+ internal `run' command and is
  19. 100% backwards compatible. It is loosely based on internal
  20. run command in Kickstart 3.1.
  21.  
  22. Run v44 is written by Harry "Piru" Sintonen and is freeware,
  23. also the full assembler source code is included. Enjoy!
  24.  
  25.  
  26.   USAGE
  27.  
  28. Format:         RUN [DETACH] [QUIET] [STACK <stacksize>]
  29.                 [PRI <priority>] <command> [+ {command}]
  30.  
  31. Template:       DETACH/S,QUIET/S,STACK/K/N,PRI/K/N,COMMAND/F
  32.  
  33. Purpose:        Execute command in the background.
  34.  
  35. Specification:
  36.  
  37. STACK specifies stack size and PRI priority for the background
  38. process.
  39.  
  40. If DETACH switch is used the new backfround process will not be
  41. have CLI number assigned to it. Unless you specify QUIET switch
  42. the new process will open input and output streams to current
  43. console. QUIET redirects DETACHed process input and output to
  44. NIL:.
  45.  
  46. Note that if you use DETACH you can not redirect command output
  47. (ie. use `run <>nil: detach command >file'). Also to supress
  48. command output, you must use QUIET. If you need the command
  49. output don't use DETACH.
  50.  
  51. QUIET is DETACH only option. STACK and PRI work for normal
  52. `runs' too.
  53.  
  54. For other `run' features see your AmigaDOS manual.
  55.  
  56. Final note: you can not use command1 + command2 feature with
  57. DETACH.
  58.  
  59.  
  60.   INSTALLATION
  61.  
  62. Copy run to directory of your choice (preferably c: -dir). Make
  63. sure run has PURE protection bit set, if not use:
  64.  
  65. protect c:run p add
  66.  
  67.  
  68. Add following to s:user-startup:
  69.  
  70. resident run remove
  71. resident c:run add
  72.  
  73. After these lines you can use new features of run v44.
  74.  
  75.  
  76. Advanced users may want to activate run already in
  77. s:startup-sequence.
  78.  
  79.  
  80.   COPYRIGHTS
  81.  
  82. Amiga and AmigaOS are Copyrighted. See your favorite amiga news
  83. service for the name of the current owner. ;)
  84.  
  85. Run44 package is Copyright © 2000 by Harry Sintonen. Run44 is
  86. freeware.
  87.  
  88. Please note that run v44 is not part of official AmigaOS 3.5
  89. release, even though program version might suggest that.
  90.  
  91.  
  92.   DISCLAIMER
  93.  
  94. I take no responsibility whatsoever if something should fail.
  95. #include <standard-disclaimer.h>
  96.  
  97.  
  98.   AUTHOR
  99.  
  100. Harry "Piru" Sintonen
  101.